﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.UI.Xaml.Media.Animation;

namespace Emilie.Animation
{
    public static class KeySplines
    {
        /// <summary>
        /// Returns a keyspline for use as an easing function
        /// to replicate the easing of the EntranceThemeTransition
        /// </summary>
        /// <returns></returns>
        public static KeySpline EntranceTheme
        {
            get
            {
                var k = new KeySpline();
                k.SetPoints(0.1, 0.9, 0.2, 1);
                return k;
            }
        }

        public static KeySpline Popup
        {
            get
            {
                var k = new KeySpline();
                k.ControlPoint1 = new Point(0.100000001490116, 0.899999976158142);
                k.ControlPoint1 = new Point(0.200000002980232, 1);
                return k;
            }
        }
    }
}
